package com.hns.can.base.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.hns.can.common.entity.BaseEntity;

/**
 * 字段值注册表
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_FIELD_VALUE_REGISTER",
       uniqueConstraints = @UniqueConstraint(columnNames = {"TABLE_NAME", "FIELD_NAME", "FIELD_CODE_VALUE" }))
public class SysFieldValueRegisterEntity extends BaseEntity implements java.io.Serializable {
    
    // Fields
    
    @Id
    @Column(name = "ID")
    private String    id;
    
    @Column(name = "TABLE_NAME")
    private String    tableName;
    
    @Column(name = "TABLE_DSC")
    private String    tableDsc;
    
    @Column(name = "FIELD_NAME")
    private String    fieldName;
    
    @Column(name = "FIELD_DSC")
    private String    fieldDsc;
    
    @Column(name = "FIELD_CODE_VALUE")
    private String    fieldCodeValue;
    
    @Column(name = "FIELD_CODE_DSC")
    private String    fieldCodeDsc;
    
    @Column(name = "CREATE_TS")
    private Date createTs;
    
    // Constructors
    
    /** default constructor */
    public SysFieldValueRegisterEntity() {
    }
    
    // Property accessors
    
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getTableName() {
        return this.tableName;
    }
    
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
    
    public String getTableDsc() {
        return this.tableDsc;
    }
    
    public void setTableDsc(String tableDsc) {
        this.tableDsc = tableDsc;
    }
    
    public String getFieldName() {
        return this.fieldName;
    }
    
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
    
    public String getFieldDsc() {
        return this.fieldDsc;
    }
    
    public void setFieldDsc(String fieldDsc) {
        this.fieldDsc = fieldDsc;
    }
    
    public String getFieldCodeValue() {
        return this.fieldCodeValue;
    }
    
    public void setFieldCodeValue(String fieldCodeValue) {
        this.fieldCodeValue = fieldCodeValue;
    }
    
    public String getFieldCodeDsc() {
        return this.fieldCodeDsc;
    }
    
    public void setFieldCodeDsc(String fieldCodeDsc) {
        this.fieldCodeDsc = fieldCodeDsc;
    }
    
    public Date getCreateTs() {
        return this.createTs;
    }
    
    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }
    
}
